// 获取值然后更新

// 遍历数量和价格按钮，如果为-1，则不替换

function sendcontent(amount, price)
{    
    chrome.tabs.query({currentWindow: true, active: true},
                    function(activeTabs) {
                        chrome.tabs.sendMessage(activeTabs[0].id, {"amount": amount, "price": price});
                    });
}


